package com.lxk.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class GoodsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public GoodsExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andGoodsIdIsNull() {
            addCriterion("goods_id is null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIsNotNull() {
            addCriterion("goods_id is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdEqualTo(Integer value) {
            addCriterion("goods_id =", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotEqualTo(Integer value) {
            addCriterion("goods_id <>", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThan(Integer value) {
            addCriterion("goods_id >", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("goods_id >=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThan(Integer value) {
            addCriterion("goods_id <", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThanOrEqualTo(Integer value) {
            addCriterion("goods_id <=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIn(List<Integer> values) {
            addCriterion("goods_id in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotIn(List<Integer> values) {
            addCriterion("goods_id not in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdBetween(Integer value1, Integer value2) {
            addCriterion("goods_id between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotBetween(Integer value1, Integer value2) {
            addCriterion("goods_id not between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsNameIsNull() {
            addCriterion("goods_name is null");
            return (Criteria) this;
        }

        public Criteria andGoodsNameIsNotNull() {
            addCriterion("goods_name is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsNameEqualTo(String value) {
            addCriterion("goods_name =", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameNotEqualTo(String value) {
            addCriterion("goods_name <>", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameGreaterThan(String value) {
            addCriterion("goods_name >", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameGreaterThanOrEqualTo(String value) {
            addCriterion("goods_name >=", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameLessThan(String value) {
            addCriterion("goods_name <", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameLessThanOrEqualTo(String value) {
            addCriterion("goods_name <=", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameLike(String value) {
            addCriterion("goods_name like", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameNotLike(String value) {
            addCriterion("goods_name not like", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameIn(List<String> values) {
            addCriterion("goods_name in", values, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameNotIn(List<String> values) {
            addCriterion("goods_name not in", values, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameBetween(String value1, String value2) {
            addCriterion("goods_name between", value1, value2, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameNotBetween(String value1, String value2) {
            addCriterion("goods_name not between", value1, value2, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsTitleIsNull() {
            addCriterion("goods_title is null");
            return (Criteria) this;
        }

        public Criteria andGoodsTitleIsNotNull() {
            addCriterion("goods_title is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsTitleEqualTo(String value) {
            addCriterion("goods_title =", value, "goodsTitle");
            return (Criteria) this;
        }

        public Criteria andGoodsTitleNotEqualTo(String value) {
            addCriterion("goods_title <>", value, "goodsTitle");
            return (Criteria) this;
        }

        public Criteria andGoodsTitleGreaterThan(String value) {
            addCriterion("goods_title >", value, "goodsTitle");
            return (Criteria) this;
        }

        public Criteria andGoodsTitleGreaterThanOrEqualTo(String value) {
            addCriterion("goods_title >=", value, "goodsTitle");
            return (Criteria) this;
        }

        public Criteria andGoodsTitleLessThan(String value) {
            addCriterion("goods_title <", value, "goodsTitle");
            return (Criteria) this;
        }

        public Criteria andGoodsTitleLessThanOrEqualTo(String value) {
            addCriterion("goods_title <=", value, "goodsTitle");
            return (Criteria) this;
        }

        public Criteria andGoodsTitleLike(String value) {
            addCriterion("goods_title like", value, "goodsTitle");
            return (Criteria) this;
        }

        public Criteria andGoodsTitleNotLike(String value) {
            addCriterion("goods_title not like", value, "goodsTitle");
            return (Criteria) this;
        }

        public Criteria andGoodsTitleIn(List<String> values) {
            addCriterion("goods_title in", values, "goodsTitle");
            return (Criteria) this;
        }

        public Criteria andGoodsTitleNotIn(List<String> values) {
            addCriterion("goods_title not in", values, "goodsTitle");
            return (Criteria) this;
        }

        public Criteria andGoodsTitleBetween(String value1, String value2) {
            addCriterion("goods_title between", value1, value2, "goodsTitle");
            return (Criteria) this;
        }

        public Criteria andGoodsTitleNotBetween(String value1, String value2) {
            addCriterion("goods_title not between", value1, value2, "goodsTitle");
            return (Criteria) this;
        }

        public Criteria andGoodsParamIsNull() {
            addCriterion("goods_param is null");
            return (Criteria) this;
        }

        public Criteria andGoodsParamIsNotNull() {
            addCriterion("goods_param is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsParamEqualTo(String value) {
            addCriterion("goods_param =", value, "goodsParam");
            return (Criteria) this;
        }

        public Criteria andGoodsParamNotEqualTo(String value) {
            addCriterion("goods_param <>", value, "goodsParam");
            return (Criteria) this;
        }

        public Criteria andGoodsParamGreaterThan(String value) {
            addCriterion("goods_param >", value, "goodsParam");
            return (Criteria) this;
        }

        public Criteria andGoodsParamGreaterThanOrEqualTo(String value) {
            addCriterion("goods_param >=", value, "goodsParam");
            return (Criteria) this;
        }

        public Criteria andGoodsParamLessThan(String value) {
            addCriterion("goods_param <", value, "goodsParam");
            return (Criteria) this;
        }

        public Criteria andGoodsParamLessThanOrEqualTo(String value) {
            addCriterion("goods_param <=", value, "goodsParam");
            return (Criteria) this;
        }

        public Criteria andGoodsParamLike(String value) {
            addCriterion("goods_param like", value, "goodsParam");
            return (Criteria) this;
        }

        public Criteria andGoodsParamNotLike(String value) {
            addCriterion("goods_param not like", value, "goodsParam");
            return (Criteria) this;
        }

        public Criteria andGoodsParamIn(List<String> values) {
            addCriterion("goods_param in", values, "goodsParam");
            return (Criteria) this;
        }

        public Criteria andGoodsParamNotIn(List<String> values) {
            addCriterion("goods_param not in", values, "goodsParam");
            return (Criteria) this;
        }

        public Criteria andGoodsParamBetween(String value1, String value2) {
            addCriterion("goods_param between", value1, value2, "goodsParam");
            return (Criteria) this;
        }

        public Criteria andGoodsParamNotBetween(String value1, String value2) {
            addCriterion("goods_param not between", value1, value2, "goodsParam");
            return (Criteria) this;
        }

        public Criteria andGoodsPicIsNull() {
            addCriterion("goods_pic is null");
            return (Criteria) this;
        }

        public Criteria andGoodsPicIsNotNull() {
            addCriterion("goods_pic is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsPicEqualTo(String value) {
            addCriterion("goods_pic =", value, "goodsPic");
            return (Criteria) this;
        }

        public Criteria andGoodsPicNotEqualTo(String value) {
            addCriterion("goods_pic <>", value, "goodsPic");
            return (Criteria) this;
        }

        public Criteria andGoodsPicGreaterThan(String value) {
            addCriterion("goods_pic >", value, "goodsPic");
            return (Criteria) this;
        }

        public Criteria andGoodsPicGreaterThanOrEqualTo(String value) {
            addCriterion("goods_pic >=", value, "goodsPic");
            return (Criteria) this;
        }

        public Criteria andGoodsPicLessThan(String value) {
            addCriterion("goods_pic <", value, "goodsPic");
            return (Criteria) this;
        }

        public Criteria andGoodsPicLessThanOrEqualTo(String value) {
            addCriterion("goods_pic <=", value, "goodsPic");
            return (Criteria) this;
        }

        public Criteria andGoodsPicLike(String value) {
            addCriterion("goods_pic like", value, "goodsPic");
            return (Criteria) this;
        }

        public Criteria andGoodsPicNotLike(String value) {
            addCriterion("goods_pic not like", value, "goodsPic");
            return (Criteria) this;
        }

        public Criteria andGoodsPicIn(List<String> values) {
            addCriterion("goods_pic in", values, "goodsPic");
            return (Criteria) this;
        }

        public Criteria andGoodsPicNotIn(List<String> values) {
            addCriterion("goods_pic not in", values, "goodsPic");
            return (Criteria) this;
        }

        public Criteria andGoodsPicBetween(String value1, String value2) {
            addCriterion("goods_pic between", value1, value2, "goodsPic");
            return (Criteria) this;
        }

        public Criteria andGoodsPicNotBetween(String value1, String value2) {
            addCriterion("goods_pic not between", value1, value2, "goodsPic");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceIsNull() {
            addCriterion("goods_price is null");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceIsNotNull() {
            addCriterion("goods_price is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceEqualTo(BigDecimal value) {
            addCriterion("goods_price =", value, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceNotEqualTo(BigDecimal value) {
            addCriterion("goods_price <>", value, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceGreaterThan(BigDecimal value) {
            addCriterion("goods_price >", value, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("goods_price >=", value, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceLessThan(BigDecimal value) {
            addCriterion("goods_price <", value, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("goods_price <=", value, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceIn(List<BigDecimal> values) {
            addCriterion("goods_price in", values, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceNotIn(List<BigDecimal> values) {
            addCriterion("goods_price not in", values, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("goods_price between", value1, value2, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("goods_price not between", value1, value2, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeIsNull() {
            addCriterion("goods_type is null");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeIsNotNull() {
            addCriterion("goods_type is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeEqualTo(Integer value) {
            addCriterion("goods_type =", value, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeNotEqualTo(Integer value) {
            addCriterion("goods_type <>", value, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeGreaterThan(Integer value) {
            addCriterion("goods_type >", value, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("goods_type >=", value, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeLessThan(Integer value) {
            addCriterion("goods_type <", value, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeLessThanOrEqualTo(Integer value) {
            addCriterion("goods_type <=", value, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeIn(List<Integer> values) {
            addCriterion("goods_type in", values, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeNotIn(List<Integer> values) {
            addCriterion("goods_type not in", values, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeBetween(Integer value1, Integer value2) {
            addCriterion("goods_type between", value1, value2, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("goods_type not between", value1, value2, "goodsType");
            return (Criteria) this;
        }

        public Criteria andIsTicketIsNull() {
            addCriterion("is_ticket is null");
            return (Criteria) this;
        }

        public Criteria andIsTicketIsNotNull() {
            addCriterion("is_ticket is not null");
            return (Criteria) this;
        }

        public Criteria andIsTicketEqualTo(Integer value) {
            addCriterion("is_ticket =", value, "isTicket");
            return (Criteria) this;
        }

        public Criteria andIsTicketNotEqualTo(Integer value) {
            addCriterion("is_ticket <>", value, "isTicket");
            return (Criteria) this;
        }

        public Criteria andIsTicketGreaterThan(Integer value) {
            addCriterion("is_ticket >", value, "isTicket");
            return (Criteria) this;
        }

        public Criteria andIsTicketGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_ticket >=", value, "isTicket");
            return (Criteria) this;
        }

        public Criteria andIsTicketLessThan(Integer value) {
            addCriterion("is_ticket <", value, "isTicket");
            return (Criteria) this;
        }

        public Criteria andIsTicketLessThanOrEqualTo(Integer value) {
            addCriterion("is_ticket <=", value, "isTicket");
            return (Criteria) this;
        }

        public Criteria andIsTicketIn(List<Integer> values) {
            addCriterion("is_ticket in", values, "isTicket");
            return (Criteria) this;
        }

        public Criteria andIsTicketNotIn(List<Integer> values) {
            addCriterion("is_ticket not in", values, "isTicket");
            return (Criteria) this;
        }

        public Criteria andIsTicketBetween(Integer value1, Integer value2) {
            addCriterion("is_ticket between", value1, value2, "isTicket");
            return (Criteria) this;
        }

        public Criteria andIsTicketNotBetween(Integer value1, Integer value2) {
            addCriterion("is_ticket not between", value1, value2, "isTicket");
            return (Criteria) this;
        }

        public Criteria andShopIdIsNull() {
            addCriterion("shop_id is null");
            return (Criteria) this;
        }

        public Criteria andShopIdIsNotNull() {
            addCriterion("shop_id is not null");
            return (Criteria) this;
        }

        public Criteria andShopIdEqualTo(Integer value) {
            addCriterion("shop_id =", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdNotEqualTo(Integer value) {
            addCriterion("shop_id <>", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdGreaterThan(Integer value) {
            addCriterion("shop_id >", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("shop_id >=", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdLessThan(Integer value) {
            addCriterion("shop_id <", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdLessThanOrEqualTo(Integer value) {
            addCriterion("shop_id <=", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdIn(List<Integer> values) {
            addCriterion("shop_id in", values, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdNotIn(List<Integer> values) {
            addCriterion("shop_id not in", values, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdBetween(Integer value1, Integer value2) {
            addCriterion("shop_id between", value1, value2, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdNotBetween(Integer value1, Integer value2) {
            addCriterion("shop_id not between", value1, value2, "shopId");
            return (Criteria) this;
        }

        public Criteria andGoodsStockIsNull() {
            addCriterion("goods_stock is null");
            return (Criteria) this;
        }

        public Criteria andGoodsStockIsNotNull() {
            addCriterion("goods_stock is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsStockEqualTo(Integer value) {
            addCriterion("goods_stock =", value, "goodsStock");
            return (Criteria) this;
        }

        public Criteria andGoodsStockNotEqualTo(Integer value) {
            addCriterion("goods_stock <>", value, "goodsStock");
            return (Criteria) this;
        }

        public Criteria andGoodsStockGreaterThan(Integer value) {
            addCriterion("goods_stock >", value, "goodsStock");
            return (Criteria) this;
        }

        public Criteria andGoodsStockGreaterThanOrEqualTo(Integer value) {
            addCriterion("goods_stock >=", value, "goodsStock");
            return (Criteria) this;
        }

        public Criteria andGoodsStockLessThan(Integer value) {
            addCriterion("goods_stock <", value, "goodsStock");
            return (Criteria) this;
        }

        public Criteria andGoodsStockLessThanOrEqualTo(Integer value) {
            addCriterion("goods_stock <=", value, "goodsStock");
            return (Criteria) this;
        }

        public Criteria andGoodsStockIn(List<Integer> values) {
            addCriterion("goods_stock in", values, "goodsStock");
            return (Criteria) this;
        }

        public Criteria andGoodsStockNotIn(List<Integer> values) {
            addCriterion("goods_stock not in", values, "goodsStock");
            return (Criteria) this;
        }

        public Criteria andGoodsStockBetween(Integer value1, Integer value2) {
            addCriterion("goods_stock between", value1, value2, "goodsStock");
            return (Criteria) this;
        }

        public Criteria andGoodsStockNotBetween(Integer value1, Integer value2) {
            addCriterion("goods_stock not between", value1, value2, "goodsStock");
            return (Criteria) this;
        }

        public Criteria andGoodsSalesIsNull() {
            addCriterion("goods_sales is null");
            return (Criteria) this;
        }

        public Criteria andGoodsSalesIsNotNull() {
            addCriterion("goods_sales is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsSalesEqualTo(Integer value) {
            addCriterion("goods_sales =", value, "goodsSales");
            return (Criteria) this;
        }

        public Criteria andGoodsSalesNotEqualTo(Integer value) {
            addCriterion("goods_sales <>", value, "goodsSales");
            return (Criteria) this;
        }

        public Criteria andGoodsSalesGreaterThan(Integer value) {
            addCriterion("goods_sales >", value, "goodsSales");
            return (Criteria) this;
        }

        public Criteria andGoodsSalesGreaterThanOrEqualTo(Integer value) {
            addCriterion("goods_sales >=", value, "goodsSales");
            return (Criteria) this;
        }

        public Criteria andGoodsSalesLessThan(Integer value) {
            addCriterion("goods_sales <", value, "goodsSales");
            return (Criteria) this;
        }

        public Criteria andGoodsSalesLessThanOrEqualTo(Integer value) {
            addCriterion("goods_sales <=", value, "goodsSales");
            return (Criteria) this;
        }

        public Criteria andGoodsSalesIn(List<Integer> values) {
            addCriterion("goods_sales in", values, "goodsSales");
            return (Criteria) this;
        }

        public Criteria andGoodsSalesNotIn(List<Integer> values) {
            addCriterion("goods_sales not in", values, "goodsSales");
            return (Criteria) this;
        }

        public Criteria andGoodsSalesBetween(Integer value1, Integer value2) {
            addCriterion("goods_sales between", value1, value2, "goodsSales");
            return (Criteria) this;
        }

        public Criteria andGoodsSalesNotBetween(Integer value1, Integer value2) {
            addCriterion("goods_sales not between", value1, value2, "goodsSales");
            return (Criteria) this;
        }

        public Criteria andGoodsAddrIsNull() {
            addCriterion("goods_addr is null");
            return (Criteria) this;
        }

        public Criteria andGoodsAddrIsNotNull() {
            addCriterion("goods_addr is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsAddrEqualTo(String value) {
            addCriterion("goods_addr =", value, "goodsAddr");
            return (Criteria) this;
        }

        public Criteria andGoodsAddrNotEqualTo(String value) {
            addCriterion("goods_addr <>", value, "goodsAddr");
            return (Criteria) this;
        }

        public Criteria andGoodsAddrGreaterThan(String value) {
            addCriterion("goods_addr >", value, "goodsAddr");
            return (Criteria) this;
        }

        public Criteria andGoodsAddrGreaterThanOrEqualTo(String value) {
            addCriterion("goods_addr >=", value, "goodsAddr");
            return (Criteria) this;
        }

        public Criteria andGoodsAddrLessThan(String value) {
            addCriterion("goods_addr <", value, "goodsAddr");
            return (Criteria) this;
        }

        public Criteria andGoodsAddrLessThanOrEqualTo(String value) {
            addCriterion("goods_addr <=", value, "goodsAddr");
            return (Criteria) this;
        }

        public Criteria andGoodsAddrLike(String value) {
            addCriterion("goods_addr like", value, "goodsAddr");
            return (Criteria) this;
        }

        public Criteria andGoodsAddrNotLike(String value) {
            addCriterion("goods_addr not like", value, "goodsAddr");
            return (Criteria) this;
        }

        public Criteria andGoodsAddrIn(List<String> values) {
            addCriterion("goods_addr in", values, "goodsAddr");
            return (Criteria) this;
        }

        public Criteria andGoodsAddrNotIn(List<String> values) {
            addCriterion("goods_addr not in", values, "goodsAddr");
            return (Criteria) this;
        }

        public Criteria andGoodsAddrBetween(String value1, String value2) {
            addCriterion("goods_addr between", value1, value2, "goodsAddr");
            return (Criteria) this;
        }

        public Criteria andGoodsAddrNotBetween(String value1, String value2) {
            addCriterion("goods_addr not between", value1, value2, "goodsAddr");
            return (Criteria) this;
        }

        public Criteria andGoodsLngIsNull() {
            addCriterion("goods_lng is null");
            return (Criteria) this;
        }

        public Criteria andGoodsLngIsNotNull() {
            addCriterion("goods_lng is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsLngEqualTo(Double value) {
            addCriterion("goods_lng =", value, "goodsLng");
            return (Criteria) this;
        }

        public Criteria andGoodsLngNotEqualTo(Double value) {
            addCriterion("goods_lng <>", value, "goodsLng");
            return (Criteria) this;
        }

        public Criteria andGoodsLngGreaterThan(Double value) {
            addCriterion("goods_lng >", value, "goodsLng");
            return (Criteria) this;
        }

        public Criteria andGoodsLngGreaterThanOrEqualTo(Double value) {
            addCriterion("goods_lng >=", value, "goodsLng");
            return (Criteria) this;
        }

        public Criteria andGoodsLngLessThan(Double value) {
            addCriterion("goods_lng <", value, "goodsLng");
            return (Criteria) this;
        }

        public Criteria andGoodsLngLessThanOrEqualTo(Double value) {
            addCriterion("goods_lng <=", value, "goodsLng");
            return (Criteria) this;
        }

        public Criteria andGoodsLngIn(List<Double> values) {
            addCriterion("goods_lng in", values, "goodsLng");
            return (Criteria) this;
        }

        public Criteria andGoodsLngNotIn(List<Double> values) {
            addCriterion("goods_lng not in", values, "goodsLng");
            return (Criteria) this;
        }

        public Criteria andGoodsLngBetween(Double value1, Double value2) {
            addCriterion("goods_lng between", value1, value2, "goodsLng");
            return (Criteria) this;
        }

        public Criteria andGoodsLngNotBetween(Double value1, Double value2) {
            addCriterion("goods_lng not between", value1, value2, "goodsLng");
            return (Criteria) this;
        }

        public Criteria andGoodsLatIsNull() {
            addCriterion("goods_lat is null");
            return (Criteria) this;
        }

        public Criteria andGoodsLatIsNotNull() {
            addCriterion("goods_lat is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsLatEqualTo(Double value) {
            addCriterion("goods_lat =", value, "goodsLat");
            return (Criteria) this;
        }

        public Criteria andGoodsLatNotEqualTo(Double value) {
            addCriterion("goods_lat <>", value, "goodsLat");
            return (Criteria) this;
        }

        public Criteria andGoodsLatGreaterThan(Double value) {
            addCriterion("goods_lat >", value, "goodsLat");
            return (Criteria) this;
        }

        public Criteria andGoodsLatGreaterThanOrEqualTo(Double value) {
            addCriterion("goods_lat >=", value, "goodsLat");
            return (Criteria) this;
        }

        public Criteria andGoodsLatLessThan(Double value) {
            addCriterion("goods_lat <", value, "goodsLat");
            return (Criteria) this;
        }

        public Criteria andGoodsLatLessThanOrEqualTo(Double value) {
            addCriterion("goods_lat <=", value, "goodsLat");
            return (Criteria) this;
        }

        public Criteria andGoodsLatIn(List<Double> values) {
            addCriterion("goods_lat in", values, "goodsLat");
            return (Criteria) this;
        }

        public Criteria andGoodsLatNotIn(List<Double> values) {
            addCriterion("goods_lat not in", values, "goodsLat");
            return (Criteria) this;
        }

        public Criteria andGoodsLatBetween(Double value1, Double value2) {
            addCriterion("goods_lat between", value1, value2, "goodsLat");
            return (Criteria) this;
        }

        public Criteria andGoodsLatNotBetween(Double value1, Double value2) {
            addCriterion("goods_lat not between", value1, value2, "goodsLat");
            return (Criteria) this;
        }

        public Criteria andGoodsTimeIsNull() {
            addCriterion("goods_time is null");
            return (Criteria) this;
        }

        public Criteria andGoodsTimeIsNotNull() {
            addCriterion("goods_time is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsTimeEqualTo(Date value) {
            addCriterion("goods_time =", value, "goodsTime");
            return (Criteria) this;
        }

        public Criteria andGoodsTimeNotEqualTo(Date value) {
            addCriterion("goods_time <>", value, "goodsTime");
            return (Criteria) this;
        }

        public Criteria andGoodsTimeGreaterThan(Date value) {
            addCriterion("goods_time >", value, "goodsTime");
            return (Criteria) this;
        }

        public Criteria andGoodsTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("goods_time >=", value, "goodsTime");
            return (Criteria) this;
        }

        public Criteria andGoodsTimeLessThan(Date value) {
            addCriterion("goods_time <", value, "goodsTime");
            return (Criteria) this;
        }

        public Criteria andGoodsTimeLessThanOrEqualTo(Date value) {
            addCriterion("goods_time <=", value, "goodsTime");
            return (Criteria) this;
        }

        public Criteria andGoodsTimeIn(List<Date> values) {
            addCriterion("goods_time in", values, "goodsTime");
            return (Criteria) this;
        }

        public Criteria andGoodsTimeNotIn(List<Date> values) {
            addCriterion("goods_time not in", values, "goodsTime");
            return (Criteria) this;
        }

        public Criteria andGoodsTimeBetween(Date value1, Date value2) {
            addCriterion("goods_time between", value1, value2, "goodsTime");
            return (Criteria) this;
        }

        public Criteria andGoodsTimeNotBetween(Date value1, Date value2) {
            addCriterion("goods_time not between", value1, value2, "goodsTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNull() {
            addCriterion("modify_time is null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNotNull() {
            addCriterion("modify_time is not null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeEqualTo(Date value) {
            addCriterion("modify_time =", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotEqualTo(Date value) {
            addCriterion("modify_time <>", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThan(Date value) {
            addCriterion("modify_time >", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("modify_time >=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThan(Date value) {
            addCriterion("modify_time <", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThanOrEqualTo(Date value) {
            addCriterion("modify_time <=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIn(List<Date> values) {
            addCriterion("modify_time in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotIn(List<Date> values) {
            addCriterion("modify_time not in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeBetween(Date value1, Date value2) {
            addCriterion("modify_time between", value1, value2, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotBetween(Date value1, Date value2) {
            addCriterion("modify_time not between", value1, value2, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andGoodsScoreIsNull() {
            addCriterion("goods_score is null");
            return (Criteria) this;
        }

        public Criteria andGoodsScoreIsNotNull() {
            addCriterion("goods_score is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsScoreEqualTo(Float value) {
            addCriterion("goods_score =", value, "goodsScore");
            return (Criteria) this;
        }

        public Criteria andGoodsScoreNotEqualTo(Float value) {
            addCriterion("goods_score <>", value, "goodsScore");
            return (Criteria) this;
        }

        public Criteria andGoodsScoreGreaterThan(Float value) {
            addCriterion("goods_score >", value, "goodsScore");
            return (Criteria) this;
        }

        public Criteria andGoodsScoreGreaterThanOrEqualTo(Float value) {
            addCriterion("goods_score >=", value, "goodsScore");
            return (Criteria) this;
        }

        public Criteria andGoodsScoreLessThan(Float value) {
            addCriterion("goods_score <", value, "goodsScore");
            return (Criteria) this;
        }

        public Criteria andGoodsScoreLessThanOrEqualTo(Float value) {
            addCriterion("goods_score <=", value, "goodsScore");
            return (Criteria) this;
        }

        public Criteria andGoodsScoreIn(List<Float> values) {
            addCriterion("goods_score in", values, "goodsScore");
            return (Criteria) this;
        }

        public Criteria andGoodsScoreNotIn(List<Float> values) {
            addCriterion("goods_score not in", values, "goodsScore");
            return (Criteria) this;
        }

        public Criteria andGoodsScoreBetween(Float value1, Float value2) {
            addCriterion("goods_score between", value1, value2, "goodsScore");
            return (Criteria) this;
        }

        public Criteria andGoodsScoreNotBetween(Float value1, Float value2) {
            addCriterion("goods_score not between", value1, value2, "goodsScore");
            return (Criteria) this;
        }

        public Criteria andStarNumIsNull() {
            addCriterion("star_num is null");
            return (Criteria) this;
        }

        public Criteria andStarNumIsNotNull() {
            addCriterion("star_num is not null");
            return (Criteria) this;
        }

        public Criteria andStarNumEqualTo(Integer value) {
            addCriterion("star_num =", value, "starNum");
            return (Criteria) this;
        }

        public Criteria andStarNumNotEqualTo(Integer value) {
            addCriterion("star_num <>", value, "starNum");
            return (Criteria) this;
        }

        public Criteria andStarNumGreaterThan(Integer value) {
            addCriterion("star_num >", value, "starNum");
            return (Criteria) this;
        }

        public Criteria andStarNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("star_num >=", value, "starNum");
            return (Criteria) this;
        }

        public Criteria andStarNumLessThan(Integer value) {
            addCriterion("star_num <", value, "starNum");
            return (Criteria) this;
        }

        public Criteria andStarNumLessThanOrEqualTo(Integer value) {
            addCriterion("star_num <=", value, "starNum");
            return (Criteria) this;
        }

        public Criteria andStarNumIn(List<Integer> values) {
            addCriterion("star_num in", values, "starNum");
            return (Criteria) this;
        }

        public Criteria andStarNumNotIn(List<Integer> values) {
            addCriterion("star_num not in", values, "starNum");
            return (Criteria) this;
        }

        public Criteria andStarNumBetween(Integer value1, Integer value2) {
            addCriterion("star_num between", value1, value2, "starNum");
            return (Criteria) this;
        }

        public Criteria andStarNumNotBetween(Integer value1, Integer value2) {
            addCriterion("star_num not between", value1, value2, "starNum");
            return (Criteria) this;
        }

        public Criteria andViewNumIsNull() {
            addCriterion("view_num is null");
            return (Criteria) this;
        }

        public Criteria andViewNumIsNotNull() {
            addCriterion("view_num is not null");
            return (Criteria) this;
        }

        public Criteria andViewNumEqualTo(Integer value) {
            addCriterion("view_num =", value, "viewNum");
            return (Criteria) this;
        }

        public Criteria andViewNumNotEqualTo(Integer value) {
            addCriterion("view_num <>", value, "viewNum");
            return (Criteria) this;
        }

        public Criteria andViewNumGreaterThan(Integer value) {
            addCriterion("view_num >", value, "viewNum");
            return (Criteria) this;
        }

        public Criteria andViewNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("view_num >=", value, "viewNum");
            return (Criteria) this;
        }

        public Criteria andViewNumLessThan(Integer value) {
            addCriterion("view_num <", value, "viewNum");
            return (Criteria) this;
        }

        public Criteria andViewNumLessThanOrEqualTo(Integer value) {
            addCriterion("view_num <=", value, "viewNum");
            return (Criteria) this;
        }

        public Criteria andViewNumIn(List<Integer> values) {
            addCriterion("view_num in", values, "viewNum");
            return (Criteria) this;
        }

        public Criteria andViewNumNotIn(List<Integer> values) {
            addCriterion("view_num not in", values, "viewNum");
            return (Criteria) this;
        }

        public Criteria andViewNumBetween(Integer value1, Integer value2) {
            addCriterion("view_num between", value1, value2, "viewNum");
            return (Criteria) this;
        }

        public Criteria andViewNumNotBetween(Integer value1, Integer value2) {
            addCriterion("view_num not between", value1, value2, "viewNum");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}